﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Entity.Service
{
    public enum ResultType
    {
        [Description("成功")]
        Success = 0000,

        [Description("无此用户信息")]
        NoUserInfo = 1001,

        [Description("用户状态异常")]
        ErrorState = 1002,

        [Description("生成订单失败")]
        OrderFail = 1003,

        [Description("充值缴费失败")]
        FailPay = 1004,

        [Description("冲正失败")]
        FailReversal = 1005,

        [Description("无效冲正(燃气表已下发充值指令)")]
        ErrorReversal = 1006,

        [Description("交易不存在")]
        NoTransaction = 1007,

        [Description("有充值指令未下发")]
        HavePayInstruct = 1008,

        [Description("有未写卡的订单")]
        HaveWaitCardOrder = 1009,

        [Description("客户缴费中")]
        Paying = 1010,

        [Description("客户扣费中")]
        Charging = 1011,

        [Description("其他")]
        ErrorOther = 1012,

        [Description("未查到设备信息")]
        NotFoundDevinfo = 1013,

        [Description("金额不符合规则")]
        ErrorMoney = 1014,

        [Description("缺少参数")]
        LackParam = 9001,

        [Description("无效参数")]
        ErrorParam = 9002,

        [Description("报文格式不正确")]
        ErrorMessage = 9003,

        [Description("请求过期")]
        ExpireToken = 9004,

        [Description("非法签名")]
        ErrorSignature = 9005,

        [Description("服务器处理异常")]
        Error = 9999,
    }
}
